package com.newasia.server.serviceImpl;

import com.newasia.server.common.tool.SpringUtil;
import com.newasia.server.dal.entitys.returnValue.MonitorState;
import com.newasia.server.dal.persistence.MonitorDetailBakMapper;
import com.newasia.server.service.IMonitorDetailBakService;

import java.util.List;

/**
 * @author LiChong
 * @description 延时数据服务
 * @date 2020/5/22
 */

public class MonitorDetailBakServiceImpl implements IMonitorDetailBakService {

    MonitorDetailBakMapper MonitorDetailBakMapper = SpringUtil.getBean(MonitorDetailBakMapper.class);

    @Override
    public List<MonitorState> getMonitorsStatusByUserId(Long userId) {
        List<MonitorState> monitorStatusList = MonitorDetailBakMapper.getMonitorsStatusByUserId(userId);
        return monitorStatusList;
    }
}
